#ifndef H_CONST
#define H_CONST

#include "function.h"

struct Const : public Function
{
public:
	virtual double value(double x);
	Const(double val);
	~Const();
private:
	double val_;
};

#endif
